package org.ricks.db;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2020/12/1420:27
 */
public class BaseStringIDEntity<K> extends AbstractEntity<K,String> {

    private static final long serialVersionUID = 4165629356522195369L;

    @PrimaryKey()
    @Column(comment = "ID")
    private String id;

    @Column()
    private long roleId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getRoleId() {
        return roleId;
    }

    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }
}
